#include "main.h"

void App_Cycle(void)
{
	Timer_TaskRun();
	f_DealUARTPWR_Routine();
	f_DealUARTOil_Routine();
	Process_SZ_Com_Receive();
	//f_Flow_Routine();
	//f_Flow_FsmCavity_Routine();
	
	if(Api_Tick_PopFlag_1ms())
	{
		f_DealUARPWR_1MsRoutine();
		f_UARTxDrive_FrameOut_1MsRoutine();
	}
	
	
	if(Api_Tick_PopFlag_10ms())
	{
		f_flowValve_left_10MS();
		f_flowValve_right_10MS();
	}
	if(Api_Tick_PopFlag_50ms())
	{
		bsp_DIScan();
		AD_ALL_sensor_get();
		temperature_all_conversion();
	}
	if(Api_Tick_PopFlag_100ms())
	{
		Box_dry_fire_pro();
	    Relay_Set_Update();
		Process_SZ_Com_Transmit();
		f_DealUARPWR_100MsRoutine();
		f_flow_Alarm();
	}
	if(Api_Tick_PopFlag_500ms())
	{


	}
	if(Api_Tick_PopFlag_1000ms())
	{
		LBI_FanLevelDeal_1sRoutine();
		f_DealStove_PowerOnOff_1sRoutine();
		f_flow_PowerONTime_1S_Routine();
		f_Box_DealWaterInPut();
	}
}
